/* 
 * File:   ParsingFunctions.h
 * Author: RedEyedKiller
 *
 * Created on 17 Οκτώβριος 2011, 4:02 μμ
 */

#ifndef PARSINGFUNCTIONS_H
#define	PARSINGFUNCTIONS_H

#include "../Vector2.h"
#include "../Rect.h"
#include "../sdl/GLColor.h"

namespace FileParser
{
namespace ParsingFunctions
{

/**
 * Parses the given string as T type variable.
 * @param data
 * @return 
 */

template<typename T>
T Parse(const char* data);

template<>
Math::Vector2F Parse(const char* data);

template<>
gl::Color Parse(const char* data);

template<>
Math::Rect Parse(const char* data);

template<>
bool Parse(const char* data);

template<>
int Parse(const char* data);
}

}

#endif	/* PARSINGFUNCTIONS_H */

